package com.ruoyi.crm.mapper;

import com.ruoyi.crm.domain.Product;
import org.apache.ibatis.annotations.Param;

public interface ProductDao {
    int deleteByPrimaryKey(String id);

    int insert(Product record);

    int insertSelective(Product record);

    Product selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Product record);

    int updateByPrimaryKey(Product record);

    Product getProductInfoByName(@Param("productName") String productName);
}